trackUserPushPreference

fun trackUserPushPreference(context: Context, pushPreference: Boolean)

Set user's push preference.

Since

12.0.00

Parameters

context

Instance of Context

pushPreference

true if push is enabled, else false.


fun trackUserPushPreference(context: Context, pushPreference: Boolean, appId: String)

Set user's push preference.

Since

12.0.00

Parameters

context

Instance of Context

pushPreference

true if push is enabled, else false.

appId

Account identifier, APP ID on the MoEngage Dashboard.